package com.yxq.mdt.app.modules.market.presenter;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.market.bean.MallGoodsBean;
import com.yxq.mdt.app.modules.market.bean.MallResponseBean;
import com.yxq.mdt.app.modules.personal.bean.MainPersonTokenBean;
import com.yxq.mdt.app.modules.personal.bean.MyPersonalBean;

import java.util.List;

public interface IMainMarketContract extends IBaseContract {

    interface View extends IBaseContract.IBaseView {

        void onLoadSuccess(MallResponseBean beanList);

        void onLoadMarketDataFailed();

        void onLoadGoodsSuccess(MallGoodsBean mallGoodsBean);

        void onLoadMarketGoodsDataFailed();

        void onLoadGoodsMoreSuccess(MallGoodsBean mallGoodsBean);

        void onLoadMarketGoodsMoreDataFailed();

        void onLoadSuccess(MyPersonalBean myPersonalBean);

        void onLoadPersonalDataFailed();

    }


    interface Presenter extends IBaseContract.IBasePresenter {
        void getPersonalMyData();

        void getMainMarketList();

        void getMainMarketGoodsList();

        void getMainMarketGoodsMoreList();
    }
}
